namespace AiPlatformAdmin.Api.Services;

/// <summary>
/// Service for managing current tenant context
/// </summary>
public interface ITenantService
{
    int? CurrentTenantId { get; }
    void SetCurrentTenantId(int? tenantId);
}

public class TenantService : ITenantService
{
    public int? CurrentTenantId { get; private set; }

    public void SetCurrentTenantId(int? tenantId)
    {
        CurrentTenantId = tenantId;
    }
}
